@layout("/common/_form.html",{js:["/assets/modular/product/product_upload.js"]}){

<form class="layui-form" id="productUploadForm" lay-filter="productUploadForm"   >
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card" >
            <div class="layui-card-header"></div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">产品名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input disabled id="name" name="name" placeholder="请输入产品名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <!--upload-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">产品图片<span style="color: red;">*</span></label>
                        <div class="layui-upload">
                            <div class="layui-upload-list" >
                                <table class="layui-table" id = "tab">
                                    <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>文件名</th>
                                        <th>大小</th>
                                        <th>状态</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody id="uploadData"></tbody>
                                </table>
                            </div>
                            <div>
                                <button type="button" class="layui-btn layui-btn-normal" id="uploadList">选择图片</button>
                                <button type="button" class="layui-btn" id="uploadListAction">开始上传</button>
                            </div>
                            <!--<input class="layui-upload-file" type="text" id ="fileIds" name="isFlag" />-->
                        </div>
                    </div>










                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
